#include<iostream>
using namespace std;
int main()
{
	int a,n=0;
	cin>>a;
	while(a)
	{
		a/=10;
		n++;
	}
	cout<<n;
} 

